package com.v1.video.view;

import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.widget.ScrollView;

/**
 * 解决scrollview中布局代码生成时导致的滚动问题
 * 
 * @author 李新立
 */
public class MyScrollView extends ScrollView {

	public MyScrollView(Context context) {
		super(context);
	}

	public MyScrollView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
	}

	public MyScrollView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	@Override
	protected int computeScrollDeltaToGetChildRectOnScreen(Rect rect) {

		return 0;
	}
}